<template>
  <div>
    <div class="main">
      <BasicInformation />
      <router-view></router-view>
    </div>
    <el-backtop>
      <div class="up">顶部</div>
    </el-backtop>
  </div>

</template>
<script>
  import BasicInformation from './BasicInformation'
  import EditInformation from './EditInformation'
  import MySongList from './mysonglist/MySongList'
  export default {
    name: 'HomePageMain',
    data() {
      return {
        isExit: true,
      }
    },
    components: {
      BasicInformation,
      EditInformation,
      MySongList
    },
    methods: {
      edit() {
        this.isExit = !this.isExit;
      },
    },
  }

</script>
<style scoped>
  .main {
    margin-left: 300px;
    width: 800px;
    position: relative;
  }

  .up {
    height: 100%;
    width: 100%;
    background-color: #f2f5f6;
    box-shadow: 0 0 6px rgba(0, 0, 0, .12);
    text-align: center;
    line-height: 40px;
    color: #1989fa;
  }

</style>
